/* @flow */

import React, { Component } from 'react';
import {
  View,
  Text,
  Image,
} from 'react-native';

import Screen from './HomeScreen.js'

export default class SectionFooterView extends Component {
  render() {
    return (
      <View style = {{height:this.props.footerTitle.length>0?41:0, width:Screen.width, backgroundColor:'#ffffff'}}>
        <View style = {{backgroundColor:'rgb(240, 240, 240)', height:1, marginHorizontal:10}}>

        </View>
        <View style = {{flexDirection:'row',justifyContent:'center', height:40, alignItems:'center'}}>
          <Text style = {{fontSize:13, textAlign:'center', color:'rgb(79,80,80)', fontWeight:'bold'}}>{this.props.footerTitle}</Text>
          <Image
            source = {require('../../img/homeImg/more111.png')}
            style = {{width:this.props.footerTitle.length>0?13:0, height: 13, marginLeft:5}}
          />
        </View>
      </View>
    );
  }
}
